
//Title:        PTMF
//Version:      
//Copyright:    Copyright (c) 1998
//Author:       Antonio Berrocal Piris
//Company:      
//Description:  Protocolo de Transporte Multicast Fiable

package es.realtimesystems.simplemulticast;

import java.beans.*;

public class SocketPTMFImpBeanInfo extends SimpleBeanInfo
{
  Class beanClass = SocketPTMFImp.class;
  String iconColor16x16Filename;
  String iconColor32x32Filename;
  String iconMono16x16Filename;
  String iconMono32x32Filename;

  
  public SocketPTMFImpBeanInfo()
  {
  }

  public PropertyDescriptor[] getPropertyDescriptors()
  {
    PropertyDescriptor[] pds = new PropertyDescriptor[] { };
    return pds;
  }

  public java.awt.Image getIcon(int iconKind)
  {
    switch (iconKind) {
    case BeanInfo.ICON_COLOR_16x16:
      return iconColor16x16Filename != null ? loadImage(iconColor16x16Filename) : null;
    case BeanInfo.ICON_COLOR_32x32:
      return iconColor32x32Filename != null ? loadImage(iconColor32x32Filename) : null;
    case BeanInfo.ICON_MONO_16x16:
      return iconMono16x16Filename != null ? loadImage(iconMono16x16Filename) : null;
    case BeanInfo.ICON_MONO_32x32:
      return iconMono32x32Filename != null ? loadImage(iconMono32x32Filename) : null;
    }
    return null;
  }
}

 